package com.serverTechnology.teamsGroups.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * <p>
 * 仓库
 * </p>
 *
 * @author 王凯炫
 * @since 2024-08-06
 */
@Data
public class TeWarehouseAddEditDto {


    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "编号")
    @NotBlank(message = "编号不能为空")
    private String code;

    @ApiModelProperty(value = "名称")
    @NotBlank(message = "名称不能为空")
    private String name;

    @ApiModelProperty(value = "仓库类型")
    @NotNull(message = "仓库类型不能为空")
    private Long warehouseCategoryId;

    @ApiModelProperty(value = "所属单元")
    @NotNull(message = "所属单元不能为空")
    private Long productLineModelId;






}
